package com.dogkr.server.mapper;

import java.util.List;
import java.util.Map;

import com.dogkr.server.entity.Order;
import com.dogkr.server.entity.OrderEvaluate;

public interface OrderMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKeyWithBLOBs(Order record);

    int updateByPrimaryKey(Order record);
    
    List<Order> selectByList(Map<String, Object> param);

	Order selectByPrimaryKeyWithAll(Long id);
	
	List<OrderEvaluate> selectWithAppraise(Map<String, Object> param);

	int countAppraiseByHostKey(Long hostId);
}